package com.wgy.designmode.action.chain.handle;

public class InfoLogger extends AbstractLogger{
    public InfoLogger() {
        super(AbstractLogger.INFO);
        setNextLogger(new WarnLogger());
    }

    @Override
    protected void write(String message) {
        System.out.println("Info记录日志: " + message);
    }
}
